﻿@model IEnumerable<LeadMaster.Models.FeesCommissions>

<legend style="width: 300px;">Fees and Commissions</legend>
<div class="spacer"></div>
<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table class="listtable contactstable" cellspacing="0" cellpadding="0" style="width: 1400px;">
<thead>
    <tr>
        <th>
            @Html.DisplayName("Campaign")
        </th>
        <th>
            @Html.DisplayNameFor(model => model.LeadFlagsID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.FeeEarnt)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.AllIntroducers)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.CallCentreID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.FeeOwingIntroducer)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.FeeOwingClient)
        </th>
        <th></th>
    </tr>
</thead>
@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Sector.Sector)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.LeadFlag.Description)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.FeeEarnt)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.AllIntroducers)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CallCentre.Contact1)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.FeeOwingIntroducer)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.FeeOwingClient)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.FeesCommissionsID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.FeesCommissionsID })
        </td>
    </tr>
}

</table>
